
package com.shangsi.containerinitializer;


import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Set;

/**
 * 本类只是做笔记没有作用
 * spring-web包下有初始器org.springframework.web.SpringServletContainerInitializer
 * 其中关心的是 WebApplicationInitializer
 * 也就是servlet容器启动之后就会执行这个
 * @author dzd
 * @date 2021-12-12
 */
public class MyInitializer implements ServletContainerInitializer {
    @Override
    public void onStartup(Set<Class<?>> set, ServletContext servletContext) throws ServletException {

    }
}
